package com.example.sys.org.service;

import com.example.core.service.BaseService;
import com.example.sys.org.po.SysUserRole;
import com.example.sys.org.vo.SysUserRoleVo;

public interface SysUserRoleService extends BaseService<SysUserRole, SysUserRoleVo> {

    public boolean hasRole(String userId, String roleCode);

    public boolean existOpenRole(String roleCode);
}
